﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Tycho.Runtime;

namespace Tycho.Peyote {
    public partial class MainWindow : Window {
        Environment Environment;

        public MainWindow () {
            InitializeComponent ();

            this.WindowState = WindowState.Maximized;
            Environment = new Environment (this, PlaySpace);

            PlaySpace.Environment = Environment;
            PlaySpace.AddRow ();
            PlaySpace.AddRow ();
            PlaySpace.AddColumn ();
            PlaySpace.AddColumn ();
            PlaySpace.PlaceGlyphInBox (new GlyphHandle (new Mock.List (), new GlyphOptions (Environment), Environment), 0, 0);
            PlaySpace.PlaceGlyphInBox (new GlyphHandle (new Mock.WebPageGlyph (), new GlyphOptions (Environment), Environment), 0, 0);
        }
    }
}
